package com.th.supcom.pds.domain.pojo;

import java.util.Date;

import net.carefx.framework.translate.Translatable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * PdsSupplyPro Pojo对象.
 * 
 * 供药过程记录.
 */
public class PdsSupplyPro implements java.io.Serializable, Translatable
{
	private static final long serialVersionUID = 1L;
	
    /** 主键.*/
    private Long m_id; 
       
    /** 供药ID.*/
    private Long m_supplyId; 
       
    /** 处方单号.*/
    private String m_prescNo; 
       
    /** 收方人编码.*/
    private String m_userIdPrescription; 
       
    /** 收方人.*/
    private String m_userNamePrescription; 
       
    /** .*/
    private Date m_prescriptionTime; 
       
    /** 收方窗口号.*/
    private String m_prescWin; 
       
    /** 收方科室.*/
    private String m_prescriptionBy; 
       
    /** 记账时间.*/
    private Date m_bookkeepingDatetime; 
       
    /** 打印人编码.*/
    private String m_empIdPrint; 
       
    /** 打印人.*/
    private String m_empNamePrint; 
       
    /** 首次打印日期.*/
    private Date m_printDate; 
       
    /** 分配窗口号.*/
    private String m_outpDispensaryWin; 
       
    /** 拣药人编码.*/
    private String m_userIdSortingPharmacist; 
       
    /** 拣药人.*/
    private String m_userNameSortingPharmacist; 
       
    /** 分拣时间SORTING_DATETIME
.*/
    private Date m_sortingDatetime; 
       
    /** 分拣标志0-未分拣 1-已分拣.*/
    private Integer m_sortingIdentification; 
       
    /** 发药者编码.*/
    private String m_userIdDispensingProvider; 
       
    /** 发药人.*/
    private String m_userNameDispensingProvider; 
       
    /** 0 未发药1已拣药 2已发药3-已改向.*/
    private Integer m_dispenseIndicator; 
       
    /** 发药时间.*/
    private Date m_dispensingDatetime; 
       
    /** 寄存数量.*/
    private Long m_depositQty; 
       
    /** 药房取药带走数量.*/
    private Long m_withdrawQty; 
       
    /** 0-未出库 1-已出库.*/
    private String m_isOut; 
       
    /** 出库单号.*/
    private String m_exNo; 
       
    /** 出库时间.*/
    private Date m_outDate; 
       
    /** 退药时间.*/
    private Date m_drugReturnTime; 
       
    /** 退药人.*/
    private String m_drugNameReturn; 
       
    /** 退药人ID.*/
    private String m_drugIdReturn; 
       
    
    /**
     * 默认构造器 .
     */
    public PdsSupplyPro ()
    {
    }
    
   /**
     * 获取主键属性.
     * 
     */
    public Long getId ()
    {
        return m_id;
    }
    
    /**
     * 设置主键属性.
     * @param id.
     */
    public void setId (Long id)
    {
        m_id = id;
    }    
   /**
     * 获取供药ID属性.
     * 
     */
    public Long getSupplyId ()
    {
        return m_supplyId;
    }
    
    /**
     * 设置供药ID属性.
     * @param supplyId.
     */
    public void setSupplyId (Long supplyId)
    {
        m_supplyId = supplyId;
    }    
   /**
     * 获取处方单号属性.
     * 
     */
    public String getPrescNo ()
    {
        return m_prescNo;
    }
    
    /**
     * 设置处方单号属性.
     * @param prescNo.
     */
    public void setPrescNo (String prescNo)
    {
        m_prescNo = prescNo;
    }    
   /**
     * 获取收方人编码属性.
     * 
     */
    public String getUserIdPrescription ()
    {
        return m_userIdPrescription;
    }
    
    /**
     * 设置收方人编码属性.
     * @param userIdPrescription.
     */
    public void setUserIdPrescription (String userIdPrescription)
    {
        m_userIdPrescription = userIdPrescription;
    }    
   /**
     * 获取收方人属性.
     * 
     */
    public String getUserNamePrescription ()
    {
        return m_userNamePrescription;
    }
    
    /**
     * 设置收方人属性.
     * @param userNamePrescription.
     */
    public void setUserNamePrescription (String userNamePrescription)
    {
        m_userNamePrescription = userNamePrescription;
    }    
   /**
     * 获取属性.
     * 
     */
    public Date getPrescriptionTime ()
    {
    	if(m_prescriptionTime == null)
    	{
    		return null;
    	}
        return (Date)m_prescriptionTime.clone();
    }
    
    /**
     * 设置属性.
     * @param prescriptionTime.
     */
    public void setPrescriptionTime (Date prescriptionTime)
    {
    	if(prescriptionTime == null)
    	{
    		m_prescriptionTime = null;
    	}else{
    	    m_prescriptionTime = (Date)prescriptionTime.clone();	        
    	}
    }            
   /**
     * 获取收方窗口号属性.
     * 
     */
    public String getPrescWin ()
    {
        return m_prescWin;
    }
    
    /**
     * 设置收方窗口号属性.
     * @param prescWin.
     */
    public void setPrescWin (String prescWin)
    {
        m_prescWin = prescWin;
    }    
   /**
     * 获取收方科室属性.
     * 
     */
    public String getPrescriptionBy ()
    {
        return m_prescriptionBy;
    }
    
    /**
     * 设置收方科室属性.
     * @param prescriptionBy.
     */
    public void setPrescriptionBy (String prescriptionBy)
    {
        m_prescriptionBy = prescriptionBy;
    }    
   /**
     * 获取记账时间属性.
     * 
     */
    public Date getBookkeepingDatetime ()
    {
    	if(m_bookkeepingDatetime == null)
    	{
    		return null;
    	}
        return (Date)m_bookkeepingDatetime.clone();
    }
    
    /**
     * 设置记账时间属性.
     * @param bookkeepingDatetime.
     */
    public void setBookkeepingDatetime (Date bookkeepingDatetime)
    {
    	if(bookkeepingDatetime == null)
    	{
    		m_bookkeepingDatetime = null;
    	}else{
    	    m_bookkeepingDatetime = (Date)bookkeepingDatetime.clone();	        
    	}
    }            
   /**
     * 获取打印人编码属性.
     * 
     */
    public String getEmpIdPrint ()
    {
        return m_empIdPrint;
    }
    
    /**
     * 设置打印人编码属性.
     * @param empIdPrint.
     */
    public void setEmpIdPrint (String empIdPrint)
    {
        m_empIdPrint = empIdPrint;
    }    
   /**
     * 获取打印人属性.
     * 
     */
    public String getEmpNamePrint ()
    {
        return m_empNamePrint;
    }
    
    /**
     * 设置打印人属性.
     * @param empNamePrint.
     */
    public void setEmpNamePrint (String empNamePrint)
    {
        m_empNamePrint = empNamePrint;
    }    
   /**
     * 获取首次打印日期属性.
     * 
     */
    public Date getPrintDate ()
    {
    	if(m_printDate == null)
    	{
    		return null;
    	}
        return (Date)m_printDate.clone();
    }
    
    /**
     * 设置首次打印日期属性.
     * @param printDate.
     */
    public void setPrintDate (Date printDate)
    {
    	if(printDate == null)
    	{
    		m_printDate = null;
    	}else{
    	    m_printDate = (Date)printDate.clone();	        
    	}
    }            
   /**
     * 获取分配窗口号属性.
     * 
     */
    public String getOutpDispensaryWin ()
    {
        return m_outpDispensaryWin;
    }
    
    /**
     * 设置分配窗口号属性.
     * @param outpDispensaryWin.
     */
    public void setOutpDispensaryWin (String outpDispensaryWin)
    {
        m_outpDispensaryWin = outpDispensaryWin;
    }    
   /**
     * 获取拣药人编码属性.
     * 
     */
    public String getUserIdSortingPharmacist ()
    {
        return m_userIdSortingPharmacist;
    }
    
    /**
     * 设置拣药人编码属性.
     * @param userIdSortingPharmacist.
     */
    public void setUserIdSortingPharmacist (String userIdSortingPharmacist)
    {
        m_userIdSortingPharmacist = userIdSortingPharmacist;
    }    
   /**
     * 获取拣药人属性.
     * 
     */
    public String getUserNameSortingPharmacist ()
    {
        return m_userNameSortingPharmacist;
    }
    
    /**
     * 设置拣药人属性.
     * @param userNameSortingPharmacist.
     */
    public void setUserNameSortingPharmacist (String userNameSortingPharmacist)
    {
        m_userNameSortingPharmacist = userNameSortingPharmacist;
    }    
   /**
     * 获取分拣时间SORTING_DATETIME
属性.
     * 
     */
    public Date getSortingDatetime ()
    {
    	if(m_sortingDatetime == null)
    	{
    		return null;
    	}
        return (Date)m_sortingDatetime.clone();
    }
    
    /**
     * 设置分拣时间SORTING_DATETIME
属性.
     * @param sortingDatetime.
     */
    public void setSortingDatetime (Date sortingDatetime)
    {
    	if(sortingDatetime == null)
    	{
    		m_sortingDatetime = null;
    	}else{
    	    m_sortingDatetime = (Date)sortingDatetime.clone();	        
    	}
    }            
   /**
     * 获取分拣标志0-未分拣 1-已分拣属性.
     * 
     */
    public Integer getSortingIdentification ()
    {
        return m_sortingIdentification;
    }
    
    /**
     * 设置分拣标志0-未分拣 1-已分拣属性.
     * @param sortingIdentification.
     */
    public void setSortingIdentification (Integer sortingIdentification)
    {
        m_sortingIdentification = sortingIdentification;
    }    
   /**
     * 获取发药者编码属性.
     * 
     */
    public String getUserIdDispensingProvider ()
    {
        return m_userIdDispensingProvider;
    }
    
    /**
     * 设置发药者编码属性.
     * @param userIdDispensingProvider.
     */
    public void setUserIdDispensingProvider (String userIdDispensingProvider)
    {
        m_userIdDispensingProvider = userIdDispensingProvider;
    }    
   /**
     * 获取发药人属性.
     * 
     */
    public String getUserNameDispensingProvider ()
    {
        return m_userNameDispensingProvider;
    }
    
    /**
     * 设置发药人属性.
     * @param userNameDispensingProvider.
     */
    public void setUserNameDispensingProvider (String userNameDispensingProvider)
    {
        m_userNameDispensingProvider = userNameDispensingProvider;
    }    
   /**
     * 获取0 未发药1已拣药 2已发药3-已改向属性.
     * 
     */
    public Integer getDispenseIndicator ()
    {
        return m_dispenseIndicator;
    }
    
    /**
     * 设置0 未发药1已拣药 2已发药3-已改向属性.
     * @param dispenseIndicator.
     */
    public void setDispenseIndicator (Integer dispenseIndicator)
    {
        m_dispenseIndicator = dispenseIndicator;
    }    
   /**
     * 获取发药时间属性.
     * 
     */
    public Date getDispensingDatetime ()
    {
    	if(m_dispensingDatetime == null)
    	{
    		return null;
    	}
        return (Date)m_dispensingDatetime.clone();
    }
    
    /**
     * 设置发药时间属性.
     * @param dispensingDatetime.
     */
    public void setDispensingDatetime (Date dispensingDatetime)
    {
    	if(dispensingDatetime == null)
    	{
    		m_dispensingDatetime = null;
    	}else{
    	    m_dispensingDatetime = (Date)dispensingDatetime.clone();	        
    	}
    }            
   /**
     * 获取寄存数量属性.
     * 
     */
    public Long getDepositQty ()
    {
        return m_depositQty;
    }
    
    /**
     * 设置寄存数量属性.
     * @param depositQty.
     */
    public void setDepositQty (Long depositQty)
    {
        m_depositQty = depositQty;
    }    
   /**
     * 获取药房取药带走数量属性.
     * 
     */
    public Long getWithdrawQty ()
    {
        return m_withdrawQty;
    }
    
    /**
     * 设置药房取药带走数量属性.
     * @param withdrawQty.
     */
    public void setWithdrawQty (Long withdrawQty)
    {
        m_withdrawQty = withdrawQty;
    }    
   /**
     * 获取0-未出库 1-已出库属性.
     * 
     */
    public String getIsOut ()
    {
        return m_isOut;
    }
    
    /**
     * 设置0-未出库 1-已出库属性.
     * @param isOut.
     */
    public void setIsOut (String isOut)
    {
        m_isOut = isOut;
    }    
   /**
     * 获取出库单号属性.
     * 
     */
    public String getExNo ()
    {
        return m_exNo;
    }
    
    /**
     * 设置出库单号属性.
     * @param exNo.
     */
    public void setExNo (String exNo)
    {
        m_exNo = exNo;
    }    
   /**
     * 获取出库时间属性.
     * 
     */
    public Date getOutDate ()
    {
    	if(m_outDate == null)
    	{
    		return null;
    	}
        return (Date)m_outDate.clone();
    }
    
    /**
     * 设置出库时间属性.
     * @param outDate.
     */
    public void setOutDate (Date outDate)
    {
    	if(outDate == null)
    	{
    		m_outDate = null;
    	}else{
    	    m_outDate = (Date)outDate.clone();	        
    	}
    }            
   /**
     * 获取退药时间属性.
     * 
     */
    public Date getDrugReturnTime ()
    {
    	if(m_drugReturnTime == null)
    	{
    		return null;
    	}
        return (Date)m_drugReturnTime.clone();
    }
    
    /**
     * 设置退药时间属性.
     * @param drugReturnTime.
     */
    public void setDrugReturnTime (Date drugReturnTime)
    {
    	if(drugReturnTime == null)
    	{
    		m_drugReturnTime = null;
    	}else{
    	    m_drugReturnTime = (Date)drugReturnTime.clone();	        
    	}
    }            
   /**
     * 获取退药人属性.
     * 
     */
    public String getDrugNameReturn ()
    {
        return m_drugNameReturn;
    }
    
    /**
     * 设置退药人属性.
     * @param drugNameReturn.
     */
    public void setDrugNameReturn (String drugNameReturn)
    {
        m_drugNameReturn = drugNameReturn;
    }    
   /**
     * 获取退药人ID属性.
     * 
     */
    public String getDrugIdReturn ()
    {
        return m_drugIdReturn;
    }
    
    /**
     * 设置退药人ID属性.
     * @param drugIdReturn.
     */
    public void setDrugIdReturn (String drugIdReturn)
    {
        m_drugIdReturn = drugIdReturn;
    }    
    /**
     * 打印字符串.
     *
     * @return 打印.
     */
    public String toString ()
    {
        StringBuffer sb = new StringBuffer (100);
        sb.append ("---------------------------------- start ----------------------------------");
        sb.append ("id:" + m_id + " supplyId:" + m_supplyId + 
			" prescNo:" + m_prescNo); 
		sb.append ("userIdPrescription:" + m_userIdPrescription + " userNamePrescription:" + m_userNamePrescription + 
			" prescriptionTime:" + m_prescriptionTime); 
		sb.append ("prescWin:" + m_prescWin + " prescriptionBy:" + m_prescriptionBy + 
			" bookkeepingDatetime:" + m_bookkeepingDatetime); 
		sb.append ("empIdPrint:" + m_empIdPrint + " empNamePrint:" + m_empNamePrint + 
			" printDate:" + m_printDate); 
		sb.append ("outpDispensaryWin:" + m_outpDispensaryWin + " userIdSortingPharmacist:" + m_userIdSortingPharmacist + 
			" userNameSortingPharmacist:" + m_userNameSortingPharmacist); 
		sb.append ("sortingDatetime:" + m_sortingDatetime + " sortingIdentification:" + m_sortingIdentification + 
			" userIdDispensingProvider:" + m_userIdDispensingProvider); 
		sb.append ("userNameDispensingProvider:" + m_userNameDispensingProvider + " dispenseIndicator:" + m_dispenseIndicator + 
			" dispensingDatetime:" + m_dispensingDatetime); 
		sb.append ("depositQty:" + m_depositQty + " withdrawQty:" + m_withdrawQty + 
			" isOut:" + m_isOut); 
		sb.append ("exNo:" + m_exNo + " outDate:" + m_outDate + 
			" drugReturnTime:" + m_drugReturnTime); 
		sb.append ("drugNameReturn:" + m_drugNameReturn + " drugIdReturn:" + m_drugIdReturn);  

        sb.append ("----------------------------------  end  ----------------------------------"); 
        return sb.toString ();
    }
    
    
    /** 日志记录器. */
    public static final Logger s_logger = LoggerFactory.getLogger(PdsSupplyPro.class);
     
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2015, TH Supcom Corporation";
    
    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";
    
    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";
    
    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}